package com.dao;

import com.bean.User;

import java.util.List;

public interface UserDao {

   public User existsUserid(String userid);

   public User login(String userid, String password);

   public int saveUser(User user);

    public int deleteByUserid(String userid);

    public int updatePass(String userid,String password);

    public int updateMess(String userid,String pet_name,String relname,String postal_code,String telephone,String address,int sex);

   public int updatePhoto(String userid, String head_sculpture);

   public Integer queryForPageTotalCount();

   public List<User> queryForPageItem(int begin, int pageSize);

   public User showMess(String enterpriseid);
}
